package com.alibaba.citrus.ots.sales.plan.dto.api.response;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author yuhailin
 * @description:
 * @date 2021-10-18 01:03
 */
@Data
public class SalesPlanScItemStatSubTotalResponse {
    /**
     * 计划量
     */
    private Integer monthCount;

    /**
     * 折后计划金额
     */
    private Long monthMoney;

    /**
     * 折前计划金额
     */
    private Long beforeMonthMoney;


    /**
     * 合同量
     */
    private Integer monthContractCount;

    /**
     * 折后合同金额
     */
    private Long monthContractMoney;

    /**
     * 折前合同金额
     */
    private Long beforeMonthContractMoney;

    /**
     * 任务量
     */
    private Integer taskCount;

    /**
     * 折后任务金额
     */
    private Long taskMoney;

    /**
     * 折前任务金额
     */
    private Long beforeTaskMoney;
    /**
     * 调整量
     */
    private Integer adjustCount;

    /**
     * 折后调整金额
     */
    private Long adjustMoney;

    /**
     * 折前调整金额
     */
    private Long beforeAdjustMoney;

    /**
     * 回复量
     */
    private Integer returnCount;
    /**
     * 折后回复金额
     */
    private Long returnMoney;
    /**
     * 折前回复金额
     */
    private Long beforeReturnMoney;

    /**
     * 调整回复数量
     */
    private Integer adjustReturnCount;
    /**
     * 折后调整回复金额
     */
    private Long adjustReturnMoney;
    /**
     * 折前调整回复金额
     */
    private Long beforeAdjustReturnMoney;

    //折前满足率
    private BigDecimal beforeSatisfyRate;

    //折后满足率
    private BigDecimal satisfyRate;

    public Integer getMonthCount() {
        return monthCount;
    }

    public void setMonthCount(Integer monthCount) {
        this.monthCount = monthCount;
    }

    public Long getMonthMoney() {
        return monthMoney;
    }

    public void setMonthMoney(Long monthMoney) {
        this.monthMoney = monthMoney;
    }

    public Long getBeforeMonthMoney() {
        return beforeMonthMoney;
    }

    public void setBeforeMonthMoney(Long beforeMonthMoney) {
        this.beforeMonthMoney = beforeMonthMoney;
    }

    public Integer getMonthContractCount() {
        return monthContractCount;
    }

    public void setMonthContractCount(Integer monthContractCount) {
        this.monthContractCount = monthContractCount;
    }

    public Long getMonthContractMoney() {
        return monthContractMoney;
    }

    public void setMonthContractMoney(Long monthContractMoney) {
        this.monthContractMoney = monthContractMoney;
    }

    public Long getBeforeMonthContractMoney() {
        return beforeMonthContractMoney;
    }

    public void setBeforeMonthContractMoney(Long beforeMonthContractMoney) {
        this.beforeMonthContractMoney = beforeMonthContractMoney;
    }

    public Integer getTaskCount() {
        return taskCount;
    }

    public void setTaskCount(Integer taskCount) {
        this.taskCount = taskCount;
    }

    public Long getTaskMoney() {
        return taskMoney;
    }

    public void setTaskMoney(Long taskMoney) {
        this.taskMoney = taskMoney;
    }

    public Long getBeforeTaskMoney() {
        return beforeTaskMoney;
    }

    public void setBeforeTaskMoney(Long beforeTaskMoney) {
        this.beforeTaskMoney = beforeTaskMoney;
    }

    public Integer getAdjustCount() {
        return adjustCount;
    }

    public void setAdjustCount(Integer adjustCount) {
        this.adjustCount = adjustCount;
    }

    public Long getAdjustMoney() {
        return adjustMoney;
    }

    public void setAdjustMoney(Long adjustMoney) {
        this.adjustMoney = adjustMoney;
    }

    public Long getBeforeAdjustMoney() {
        return beforeAdjustMoney;
    }

    public void setBeforeAdjustMoney(Long beforeAdjustMoney) {
        this.beforeAdjustMoney = beforeAdjustMoney;
    }

    public Integer getReturnCount() {
        if (returnCount == null){
            return 0;
        }
        return returnCount;
    }

    public void setReturnCount(Integer returnCount) {
        this.returnCount = returnCount;
    }

    public Long getReturnMoney() {
        return returnMoney;
    }

    public void setReturnMoney(Long returnMoney) {
        this.returnMoney = returnMoney;
    }

    public Long getBeforeReturnMoney() {
        if (beforeReturnMoney == null){
            return 0L;
        }
        return beforeReturnMoney;
    }

    public void setBeforeReturnMoney(Long beforeReturnMoney) {
        this.beforeReturnMoney = beforeReturnMoney;
    }


    public Integer getAdjustReturnCount() {
        if (adjustReturnCount == null){
            return 0;
        }
        return adjustReturnCount;
    }

    public void setAdjustReturnCount(Integer adjustReturnCount) {
        this.adjustReturnCount = adjustReturnCount;
    }

    public Long getAdjustReturnMoney() {
        return adjustReturnMoney;
    }

    public void setAdjustReturnMoney(Long adjustReturnMoney) {
        this.adjustReturnMoney = adjustReturnMoney;
    }

    public Long getBeforeAdjustReturnMoney() {
        return beforeAdjustReturnMoney;
    }

    public void setBeforeAdjustReturnMoney(Long beforeAdjustReturnMoney) {
        this.beforeAdjustReturnMoney = beforeAdjustReturnMoney;
    }
}
